﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using POSSystem.DAL;

namespace POSSystem.BLL
{
    public class ProductDetailHistories : _ProductDetailHistories
    {
        public void AddInfo(int productDetailID, int productStatusID, int stockLocationID, String description,
            int supplierID, Decimal cost)
        {
            this.BranchID = Branches.CurrentBranchID;
            this.ProductDetailID = productDetailID;
            this.ProductStatusID = productStatusID;
            //this.StockLocationID = stockLocationID;
            this.Description = description;
            this.SupplierID = supplierID;
            this.Cost = cost;
            this.SavedDate = DateTime.UtcNow.AddHours(SystemVariables.SysVars.TimeZone);
        }
    }
}
